package com.leyu.mall.admin.goods.dao;

import java.util.List;

import com.leyu.mall.admin.goods.domain.GoodsBase;

public interface GoodsBaseMapper {
   
  
    int deleteGoodsBase(Long goodsId);
 
    int addGoodsBase(GoodsBase record);

    List getAllGoodsBase();
 
    GoodsBase getGoodsBaseById(Long goodsId);
 
    int updateByPrimaryKey(GoodsBase record);
    
	public List<GoodsBase> getNewGoodsList() throws Exception;
	public List<GoodsBase> getHotGoodsList() throws Exception;
	public List<GoodsBase> getPromotionGoodsList() throws Exception;
	public List<GoodsBase> getGroupGoodsList() throws Exception;
	 public List<GoodsBase> getGoodsListByPage(GoodsBase pagebean) throws Exception;
	 public int getGoodsListByPageCount()throws Exception;
}